package org.wang.generalcode.modules.exam.converter;

import org.mapstruct.Mapper;
import org.wang.generalcode.modules.exam.pojo.entity.TestPaperInfoEntity;
import org.wang.generalcode.modules.exam.pojo.vo.TestPaperInfoVO;

/**
 * 试卷信息表对象转换器
 *
 * @author wz
 * @since 2024-11-29
 */
@Mapper(componentModel = "spring")
public interface TestPaperInfoConverter {

    TestPaperInfoVO toForm(TestPaperInfoEntity entity);

    TestPaperInfoEntity toEntity(TestPaperInfoVO formData);
}